package kubayaxi.video.client.service;

import kubayaxi.video.client.request.login.LoginDTO;
import kubayaxi.video.client.request.login.LoginSendCodeDTO;
import kubayaxi.video.client.response.login.LoginVO;
import kubayaxi.video.service.base.common.request.BaseRequest;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;

public interface ILoginService {
    void sendCode(BaseRequest<LoginSendCodeDTO> dto);

    LoginVO login(BaseRequest<LoginDTO> dto, HttpServletRequest request);
}
